/******************************************************************************
 * Copyright 2017-2018 Baidu Robotic Vision Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *****************************************************************************/

/*
 * [NOTE] This file is automatically generated by exposure_table_ar0141.py
 * Do NOT modify this file directly!
 */
#ifndef INCLUDE_DRIVER_AR0141_AEC_TABLE_H_
#define INCLUDE_DRIVER_AR0141_AEC_TABLE_H_

namespace XPDRIVER {
namespace XP_SENSOR {

const uint32_t kAR0141_AEC_steps = 207;
// Each row in kAR0141_AEC_LUT is [gain_reg_val, exp_reg_val]
const int16_t kAR0141_AEC_LUT[207][2] = {
  {0, 1},
  {1, 1},
  {3, 1},
  {4, 1},
  {6, 1},
  {7, 1},
  {9, 1},
  {10, 1},
  {12, 1},
  {13, 1},
  {15, 1},
  {16, 1},
  {2, 2},
  {3, 2},
  {5, 2},
  {6, 2},
  {8, 2},
  {9, 2},
  {10, 2},
  {11, 2},
  {3, 3},
  {13, 2},
  {15, 2},
  {6, 3},
  {17, 2},
  {18, 2},
  {9, 3},
  {10, 3},
  {21, 2},
  {13, 3},
  {14, 3},
  {23, 2},
  {3, 5},
  {24, 2},
  {17, 3},
  {26, 2},
  {18, 3},
  {6, 5},
  {19, 3},
  {7, 5},
  {1, 7},
  {20, 3},
  {21, 3},
  {10, 5},
  {3, 7},
  {23, 3},
  {24, 3},
  {13, 5},
  {19, 4},
  {15, 5},
  {20, 4},
  {28, 3},
  {17, 5},
  {9, 7},
  {30, 3},
  {1, 11},
  {24, 4},
  {12, 7},
  {13, 7},
  {21, 5},
  {27, 4},
  {1, 13},
  {19, 6},
  {17, 7},
  {11, 9},
  {25, 5},
  {16, 8},
  {22, 6},
  {9, 11},
  {28, 5},
  {29, 5},
  {7, 13},
  {17, 9},
  {13, 11},
  {14, 11},
  {28, 6},
  {29, 6},
  {5, 17},
  {26, 7},
  {27, 7},
  {14, 13},
  {25, 8},
  {23, 9},
  {27, 8},
  {7, 19},
  {19, 12},
  {26, 9},
  {30, 8},
  {13, 17},
  {17, 15},
  {9, 21},
  {19, 14},
  {31, 9},
  {26, 11},
  {15, 19},
  {19, 16},
  {9, 25},
  {23, 14},
  {1, 39},
  {19, 18},
  {22, 16},
  {19, 19},
  {22, 17},
  {6, 35},
  {22, 18},
  {6, 37},
  {30, 14},
  {27, 16},
  {11, 33},
  {27, 17},
  {6, 43},
  {9, 39},
  {1, 59},
  {6, 47},
  {10, 41},
  {2, 61},
  {13, 39},
  {11, 43},
  {5, 57},
  {28, 22},
  {15, 41},
  {13, 45},
  {3, 71},
  {29, 24},
  {10, 55},
  {23, 32},
  {1, 89},
  {6, 71},
  {23, 35},
  {5, 79},
  {12, 61},
  {11, 65},
  {7, 79},
  {5, 89},
  {1, 113},
  {23, 43},
  {5, 97},
  {30, 35},
  {5, 103},
  {1, 131},
  {11, 85},
  {10, 91},
  {29, 42},
  {22, 57},
  {5, 123},
  {6, 121},
  {4, 137},
  {17, 83},
  {14, 97},
  {12, 107},
  {5, 147},
  {9, 127},
  {14, 109},
  {17, 99},
  {31, 56},
  {9, 143},
  {13, 127},
  {24, 79},
  {31, 63},
  {11, 149},
  {13, 143},
  {24, 89},
  {25, 88},
  {14, 151},
  {22, 106},
  {27, 89},
  {25, 99},
  {28, 91},
  {25, 105},
  {26, 104},
  {12, 199},
  {19, 151},
  {14, 197},
  {17, 179},
  {10, 241},
  {8, 269},
  {25, 133},
  {25, 137},
  {28, 126},
  {18, 202},
  {19, 197},
  {14, 257},
  {8, 331},
  {11, 303},
  {6, 383},
  {31, 140},
  {30, 149},
  {15, 297},
  {13, 327},
  {22, 222},
  {12, 359},
  {28, 185},
  {29, 184},
  {23, 239},
  {17, 333},
  {27, 216},
  {26, 231},
  {23, 269},
  {25, 255},
  {17, 386},
  {23, 294},
  {30, 232},
  {25, 287},
  {26, 284},
  {22, 346},
  {28, 280},
  {27, 299}
};

}  // namespace XP_SENSOR
}  // namespace XPDRIVER

#endif  // INCLUDE_DRIVER_AR0141_AEC_TABLE_H_
